package com.dmm;


import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class test1 {


    public static void main(String[] args) {

        List<Long> list=new ArrayList<>();
        list.add(2L);
        list.add(3L);
        boolean contains = list.contains(3L);
        System.out.println(contains);

    }
}
